﻿@model IEnumerable<LightWeb.MvcWeb.Areas.SmartPfa.Models.StockCashFlowModel>
@{
    ViewBag.Title = "Stock List";
    Layout = "~/Areas/SmartPfa/Views/Shared/_Layout.cshtml";
}
<h2>
    @ViewBag.Title</h2>
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<@Html.ActionLink("PreView Data", "PreViewData");
<table>
    <tr>
        <th>
            DealDate
        </th>
        <th>
            StockCode
        </th>
        <th>
            StockName
        </th>
        <th>
            DealPrice
        </th>
        <th>
            DealQty
        </th>
        <th>
            BizType
        </th>
        <th>
            TotalCash
        </th>
        <th>
            RaminCash
        </th>
        <th>
            InvestorCode
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.DealDate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StockCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StockName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DealPrice)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DealQty)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BizType)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.TotalCash)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RaminCash)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.InvestorCode)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.Id }) |
                @Html.ActionLink("Details", "Details", new { id = item.Id }) |
                @Html.ActionLink("Delete", "Delete", new { id = item.Id })
            </td>
        </tr>
    }
</table>
